package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 渠道管理 - 业务员解除绑定渠道接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-04-14
 */
public class MemberSalesUnBindChannelVO implements Serializable {
    private static final long serialVersionUID = -6945882694515390613L;

    /**
     * 用户Id（业务员Id）
     */
    @NotNull(message = "业务员Id要大于0")
    @Positive(message = "业务员Id要大于0")
    private Long userId;

    /**
     * 要解绑的渠道Id列表
     */
    @NotEmpty(message = "渠道Id列表不能为空")
    private List<Long> relationIds;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<Long> getRelationIds() {
        return relationIds;
    }

    public void setRelationIds(List<Long> relationIds) {
        this.relationIds = relationIds;
    }
}
